package visitorPattern.computer

class Mouse : ComputerPart {
    override fun accept(computerPartVisitor: ComputerPartVisitor) {
        computerPartVisitor.visit(this)
    }

    override fun operation() {
        println("我是鼠标,我可以点击连接")
    }
}